import request from './request.js'

const store = {
  // 店铺列表
  GetCarStoreList(data) {
    return request.post('/api/client/core/Store/GetCarStoreList', data)
  },
  // 新车列表
  GetCarList(data) {
    return request.post('/api/client/core/Store/GetCarList', data)
  },
  // 新车店铺列表
  GetCarStoreDetail(data) {
    return request.post('/api/client/core/Store/GetCarStoreDetail', data)
  },
  // 关注
  addFavorite(data) {
    return request.post('/api/client/core/Favorite_C/AddFavorite_C', data)
  },
  // 取消关注
  cancelFavorite(data) {
    return request.post('/api/client/core/Favorite_C/DeleteFavorite_CEntity', data)
  },
  // 收藏夹新车列表
  getFavoriteCEntityCarList(data) {
    return request.post('/api/client/core/Favorite_C/GetFavorite_CEntityCarList', data)
  },
  // 收藏夹保养店铺列表
  getFavoriteCEntityBYList(data) {
    return request.post('/api/client/core/Favorite_C/GetFavorite_CEntityBYList', data)
  },
  // 收藏夹车辆店铺列表
  getFavoriteCEntityStroeList(data) {
    return request.post('/api/client/core/Favorite_C/GetFavorite_CEntityStroeList', data)
  },
  // 店铺保养店铺列表
  GetMaintainStoreList(data) {
    return request.post('/api/client/core/Store/GetMaintainStoreList', data)
  },
  // 店铺保养店铺详情
  GetMaintainStoreDetail(data) {
    return request.post('/api/client/core/Store/GetMaintainStoreDetail', data)
  }
}

export default store